#include <iostream>
#include <cstring>
#include <algorithm>

using namespace std;

int main()
{
    int n, b, p;
    cin >> n >> b >> p;
    cout << (n-1)*(2*b+1) << ' ' << n*p << endl;
    return 0;
}